Skip to content

adjust regex in duplicate check#22

Open
ProxiBlue wants to merge 1 commit intoEcomDev:masterfrom
ProxiBlue:master
Open

adjust regex in duplicate check#22
ProxiBlue wants to merge 1 commit intoEcomDev:masterfrom
ProxiBlue:master

Conversation

@ProxiBlue
Copy link

The regex used to find duplicate url_keys are giving false positives if the given url_key ends in -[number]

for example:

19th-century-filipino-basket-with-lid-acc-7311-5219 would result in 19th-century-filipino-basket-with-lid-acc-7311-5219-1.html as the request url.

…, but a dashed -X digit - prevents urls keys ending in -XXXXX to be thought of as duplicates
@infabo
Copy link

infabo commented Apr 12, 2017

LGTM. +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants